package cate.common.table.activity.foodhunter.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

/**
 * @author liuyunke
 * @program: cate-game
 * @create
 * @description:
 */
public class FoodHunterShopRow extends ERow {
    @NoteField("奖励")
    public String reward;
    @NoteField("限购")
    public int limit;
    @NoteField("消耗")
    public String cost;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID");
        this.reward = xrw.getString("奖励");
        this.limit = xrw.getInteger("限购");
        this.cost = xrw.getString("消耗");
    }
}
